<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>合并单元格</title>
</head>
<body>
    <!-- colspan表示跨列合并 rowspan表示跨行合并 取值是整数 -->
    <table border="1" cellspacing="0" cellpadding="0" align="center" width="400px">
        <tr>
            <td colspan="2">11</td>
            <!-- <td>12</td> -->
            <td>13</td>
            <td>14</td>
        </tr>
        <tr>
            <td>21</td>
            <td>22</td>
            <td>23</td>
            <td>24</td>
        </tr>
        <tr>
            <td rowspan="2">31</td>
            <td>32</td>
            <td colspan="2" rowspan="2">33</td>
            <!-- <td>34</td> -->
        </tr>
        <tr>
            <!-- <td>41</td> -->
            <td>42</td>
            <!-- <td>43</td> -->
            <!-- <td>44</td> -->
        </tr>
    </table>
</body>
</html>